﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GS.ManagerPage
{
    public class AdminClass:EntitesClass
    {
        protected virtual bool CheckPermission()
        {
            if (Session["UserInfo"] == null)
            {
                Response.Redirect(string.Format("login.aspx"));
                return false;
            }
            return true;
        }
        protected override void OnInit(EventArgs e)
        {
            //base.OnInit(e);
            CheckPermission();
        }
    }
}
